import 'package:json_annotation/json_annotation.dart';

part 'app_version.g.dart';

@JsonSerializable(explicitToJson: true)
class AppVersion {
  String? id;

  String? appType;

  String? version;

  bool? isValid;

  bool? isLook;

  bool? isForce;

  String? source;

  String? versionCode;

  String? versionDesc;

  String? createTime;

  AppVersion();

  static AppVersion fromJson(Map<String, dynamic> srcJson) =>
      _$AppVersionFromJson(srcJson);

  Map<String, dynamic> toJson() => _$AppVersionToJson(this);
}
